home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr55 / news0497.zip / NEWS0497.TXT
Text File  |  1993-06-15  |  49KB  |  978 lines

  1. Archive-name: x-faq/part4
  2. Last-modified: 1993/05/11
  3.  
  4. ----------------------------------------------------------------------
  5. Subject:  80)! Where can I get an X-based plotting program?
  6.  
  7. These usually are available from uucp sites such as uunet or other sites as
  8. marked; please consult the archie server to find more recent versions.
  9.  
  10.  gnuplot    X (xplot), PostScript and a bunch of other drivers.
  11.     export.lcs.mit.edu [and elsewhere]:contrib/gnuplot3.1.tar.Z
  12.  
  13.  gl_plot    X output only [?]
  14.     comp.sources.unix/volume18
  15.  
  16.  graph+
  17.     yallara.cs.rmit.oz.au:/pub/graph+.tar.Z [131.170.24.42]
  18.     comp.sources.unix/volume8
  19.  
  20.  pdraw,drawplot        2D and 3D X,PS
  21.     scam.berkeley.edu:/src/local/3dplot.tar.Z [128.32.138.1]
  22.     scam.berkeley.edu:/src/local/contour.tar.Z [128.32.138.1]
  23.     scam.berkeley.edu:/src/local/drawplot.tar.Z [128.32.138.1]
  24.     uunet:~ftp/contrib/drawplot.tar.Z
  25.  
  26.  xgraph        plot, zoom. Outputs PS or HPGL.
  27.     shambhala.berkeley.edu:/pub/xgraph-11.tar.Z [128.32.132.54]
  28.     sun1.ruf.uni-freiburg.de:X11/contrib/xgraph-11.tar.Z [132.230.1.1]
  29.     nisc.jvnc.net:pub/xgraph-11.tar.Z [128.121.50.7]
  30.     comp.sources.x/volume3
  31.     or many other sites 
  32.  
  33.  ACE/gr (formerly xvgr and xmgr) XY plotting tools
  34.     ftp.ccalmr.ogi.edu [129.95.72.34]
  35.     XView version: /CCALMR/pub/acegr/xvgr-2.10.tar.Z
  36.     Motif version: /CCALMR/pub/acegr/xmgr-2.10.tar.Z
  37.     [mirrored on export in /contrib/acegr]
  38.  
  39.  XGobi        An interactive dynamic scatter-plotting tool from Bellcore
  40.     lib.stat.cmu.edu: general/xgobi* [log in as statlib with your email
  41.     as the password; or send email to statlib@lib.stat.cmu.edu containing
  42.     the one-line message "send xgobi from general"]
  43.     Information from: Debby Swayne, dfs@bellcore.com.
  44.  
  45.  Robot        a scientific XView-based graph plotting and data analysis tool
  46.     ftp.astro.psu.edu:pub/astrod/robotx0.46.tar.Z [128.118.147.28]
  47.  
  48.  plotmtv    a multi-purpose 2D/3D plotter
  49.     tanqueray.berkeley.edu:/pub/Plotmtv1.3.1.tar.Z
  50.     
  51.  
  52. [2/91. Thanks in part to: emv@ox.com (Ed Vielmetti); geoff@Veritas.COM 
  53. (Geoffrey Leach); Paul A. Scowen (uk1@spacsun.rice.edu); black@beno.CSS.GOV 
  54. (Mike Black)]
  55.  
  56. ----------------------------------------------------------------------
  57. Subject:  81)! Where can I get an X-based spreadsheet?
  58.  
  59. A version of "sc" for X and which supports Lotus files is available from
  60. vernam.cs.uwm.edu in xspread2.0.tar.Z. It also includes graphing functions.
  61. Information: soft-eng@cs.uwm.edu.
  62.  
  63. The GNU package OLEO is available in prep.ai.mit.edu:pub/gnu/oleo-1.2.2.tar.Z;
  64. it can generate PostScript renditions of spreadsheets.
  65.  
  66. Also:
  67.  
  68. Several of the below are part of integrated office-productivity tools which may
  69. also include word-processing, email, conferencing, image processing, and 
  70. drawing/painting, among other features.
  71.  
  72. Vendor                        Product    Contact Information 
  73. ------                        -------    -------------------
  74. Access Technology             20/20      508-655-9191
  75. Informix                      WingZ      800-331-1763
  76. Quality Software Products     Q-Calc/eXclaim    800-628-3999 (CA:213-410-0303) 
  77. Unipress                      Q-Calc     201-985-8000
  78. Uniplex                       Uniplex    214-717-0068, 800-356-8063
  79. Digital                  DECdecision   1-800-DIGITAL
  80. Applix                  Aster*x     508-870-0300, 1-800-8APPLIX.
  81. AIS                  XESS     919-942-7801, info@ais.com
  82. BBN Software Products         BBN/Slate  617-873-5000 slate-offer@bbn.com
  83. Elsid Software Systems          Ripcam     613-228-9468
  84. Andrew Consortium          table     info-andrew-request@andrew.cmu.edu
  85.  
  86. SAS by the SAS Institute now has a spreadsheet module; the X version is
  87. available on the current popular RISC platforms.
  88.  
  89. ----------------------------------------------------------------------
  90. Subject:  82)  Where can I get X-based project-management software?
  91.  
  92. Vendor                            Product        Contact Information 
  93. ------                -------        -------------------
  94. Productivity Solutions        Ultra Planner    617-237-1600
  95. Quality Software Products     MasterPlan Version, 310-410-0303 sales@qsp.com
  96. Digital Tools, Inc.        AutoPLAN    408-366-6920, 800-755-0065
  97. NASA                COMPASS        404-542-3265,
  98.                         service@cossack.cosmic.uga.edu
  99. GEC-Marconi Software Systems    GECOMO Plus    703-648-1551
  100. GEC-Marconi Software Systems    SIZE Plus    703-648-1551
  101. TEI, Inc            VUE        408-985-7100
  102. Mantix                Cascade        703-506-8833
  103. Advanced Management Solutions    Schedule Publisher    800-397-6829
  104. Auburn University        ??        ??
  105.  
  106. [thanks to Pete Phillips (pete@egh-qc.co.uk); 7/92]
  107. [thanks to Atul Chhabra (atul@nynexst.com); 10/92]
  108.  
  109. ----------------------------------------------------------------------
  110. Subject:  83)! Where can I get an X-based PostScript previewer?
  111.  
  112.     Ghostscript is distributed by the Free Software Foundation 
  113. (617-876-3296) and includes a PostScript interpreter and a library of graphics
  114. primitives. Version 2.6 is now available; the major site is prep.ai.mit.edu,
  115. although ftp.cs.wisc.edu is also recommended. [5/93]  Version 3.0 is scheduled
  116. for December; it will include a full implementation of PostScript Level 2.
  117.  
  118.     GSPreview (by the Computing Laboratory of the University of Kent at 
  119. Canterbury) is an X user interface (WCL-based) to the Ghostscript 2.4[.1]
  120. interpreter [5/92].  The source is available for anonymous ftp from 
  121. export.lcs.mit.edu as gspreview.2.0.tar.Z.
  122.  
  123.     Ghostview (by Tim Theisen, tim@cs.wisc.edu) is full-function user 
  124. interface for GhostScript. Check ftp.cs.wisc.edu or prep.ai.mit.edu for 
  125. /pub/ghostview-1.4.1.tar.Z [1/93]. There are also several executables available
  126. on ftp.cs.wisc.edu:/pub/X/ghostview-exe for various architectures.
  127.  
  128. Also:
  129.  
  130.     ScriptWorks is Harlequin's software package for previewing and printing
  131. PostScript(R) descriptions of text and graphics images; previewers for X are 
  132. available. For information call +44-223-872522 or send email to 
  133. scriptworks-request@harlqn.co.uk.
  134.  
  135.     Image Network's Xps supports the full PostScript language and renders
  136. in color, grayscale, or monochrome. Fonts displayed are anti-aliased. Info:
  137. Image Network, +1 415 967 0542.
  138.  
  139.     Digital's dxpsview runs on UWS 2.1 and 2.2.
  140.  
  141.     Sun's pageview runs with the X11/NeWS server. 
  142.  
  143. ----------------------------------------------------------------------
  144. Subject:  84)  Where can I get an X-based GKS package?
  145.  
  146.     The latest freely-available XGKS can be obtained from 
  147. xgks-request@unidata.ucar.edu; this is a 2c implementation derived from the 
  148. X11R4 contrib XGKS from IBM and the University of Illinois. The release
  149. is on unidata.ucar.edu [128.117.140.3] as pub/xgks.tar.Z. [12/90]
  150.     In addition, Grafpak-GKS is available from Advanced Technology Center
  151. (714-583-9119).
  152.     GKSUL is available from gks@ulowell.edu (ULowell CS department). It is
  153. a 2b implementation which includes drivers for a variety of devices. It can be 
  154. passed an X window ID to use. The package includes both C and Fortran bindings.
  155.  
  156. [11/90; from dsrand@mitre.org and from stew@hanauma.stanford.edu]
  157.  
  158.     An XgksWidget is produced by Neil Bowers (neilb@leeds.dcs; 
  159. neilb@dcs.leeds.ac.uk); the latest [10/91] conforms with the new version of 
  160. XGKS (2.4). It is available on export in contrib/xgks-widget.tar.Z. 
  161.  
  162. ----------------------------------------------------------------------
  163. Subject:  85)  Where can I get an X-based PEX package?
  164.  
  165.     The first official release of PEX is with X11R5; fix-22 brings the
  166. Sample Implementation server to version 5.1.
  167.  
  168.     The final PEX 5.1 Protocol specification is now available via anonymous
  169. ftp to export.lcs.mit.edu (18.24.0.12), in the directory /pub/DOCS/PEX/. 
  170. Changes made from the Public Review draft are listed in the file "5.1P_changes"
  171. in that directory. [9/92]
  172.  
  173.     The final PEXlib 5.1 document is on export in pub/DOCS/PEXlib. [11/92]
  174.  
  175.     There is now available from the University of Illinois an 
  176. implementation of the PEX 4.0 specification called UIPEX. It contains a "near-
  177. complete" implementation of PHiGS and PHiGS PLUS. The file 
  178. pub/uipex/uipex.tar.Z is on a.cs.uiuc.edu (128.174.252.1); the porting platform
  179. was an RT running 4.3.  Questions and comments can to go uipex@cs.uiuc.edu. 
  180.  
  181.     In addition, the PEXt toolkit by Rich Thomson (rthomson@dsd.es.com) is 
  182. available on export as PEXt.tar.Z; it includes a PEX widget making it easier to
  183. include PEX in Xt-based programs.
  184.  
  185. ----------------------------------------------------------------------
  186. Subject:  86)  Where can I get an X-based TeX or DVI previewer?
  187.  
  188.     The xtex previewer for TeX files is available from a number of archive 
  189. sites, including uunet; the current version is usually on ftp.cs.colorado.edu
  190. (128.138.204.31) in SeeTeX-2.18.5.tar.Z; pre-converted fonts are also on that 
  191. machine. The distribution all includes "mftobdf" which converts PK, GF, and PXL
  192. fonts to BDF format, where they can then be compiled for use by your local X
  193. server. 
  194.     The xdvi dvi-previewer is fairly comprehensive and easy to use. It is 
  195. also available from a number of sites, including uunet and export.lcs.mit.edu;
  196. current version is patchlevel 16 [12/92].
  197.  
  198. ----------------------------------------------------------------------
  199. Subject:  87)  Where can I get an X-based troff previewer?
  200.  
  201.     X11R4 has two previewers for device-independent troff: the supported 
  202. client xditview, and the contributed-but-well-maintained xtroff. An earlier 
  203. version of xtroff also appeared on the R3 contributed source. xditview is also
  204. in the R5 distribution.
  205.     In addition, the xman client can be used to preview troff documents
  206. which use the -man macros (i.e. man pages).
  207.     If psroff is used its output can be viewed with a PostScript previewer.
  208.  
  209. In addition:
  210.  
  211.     xproof, an X previewer for ditroff has been contributed by Marvin 
  212. Solomon (solomon@cs.wisc.edu); version 3.5 is available on export in 
  213. contrib/xproof*.     [8/90]
  214.  
  215.     Elan Computer Group (CA: 415-964-2200) produces eroff, a modified 
  216. troff implementation, and Elan/Express, an X11 eroff previewer.
  217.  
  218.     SoftQuad (416-963-8337; USA only 800-387-2777, mail@sq.uu.net or
  219. mail@sq.com) offers SoftQuad Publishing Software, including a substantially-
  220. rewritten troff formatter, a better intermediate language with backwards 
  221. compatibility, and an X11[R3,R4] previewer. (This is the package adopted by 
  222. AT&T's own MIS department, and used in and re-sold by many parts of AT&T). 
  223. [information from Ian Darwin, SoftQuad (ian@sq.com) 3/90]
  224.  
  225.     Image Network (1-800-TOXROFF; CA: 415-967-0542) offers the Xroff 
  226. package, which includes a fine modified troff implementation and a set of 
  227. X11-based page previewers. (This is the package OEM'ed by several hardware 
  228. vendors.)
  229.  
  230. [mostly courtesy moraes@cs.toronto.edu (Mark Moraes)] [2/90]
  231.  
  232. ----------------------------------------------------------------------
  233. Subject:  88)! Where can I get a WYSIWYG interface builder?
  234.  
  235.     A new release of the DIRT interface builder by Richard Hesketh works 
  236. with X11R5 and includes some support for the Motif widget set. From the README:
  237.   This builder allows the interactive creation and rapid prototyping of X user
  238.   interfaces using the X Toolkit and a number of Widget Sets.  Dirt generates
  239.   "Wc - Widget Creation" resource files and this distribution also includes the
  240.   Widget Creation Library (version 1.06, with the exception of the demos and
  241.   Mri/Ari source code) with the kind permission of its author David E. Smyth.
  242. Check dirt.README, dirt.A2.0.tar.Z, and dirt.PS.Z on export.lcs.mit.edu.
  243.  
  244.     The InterViews 3.0.1 C++ toolkit contains a WYSIWIG interface builder 
  245. called ibuild. ibuild generates code for an InterViews application complete 
  246. with Imakefile and an X-resource file. Documentation is /pub/papers/ibuild.ps 
  247. on interviews.stanford.edu (36.22.0.175).
  248.     Quest Windows's (408-496-1900) ObjectViews C++ package includes an
  249. interactive building tool. 
  250.  
  251.     Druid (Demonstrational Rapid User Interface Development) runs on SPARC 
  252. machines using OSF/Motif 1.0; it is intended eventually to be a full UIMS but 
  253. apparently now has only support for creating the presentation components, for 
  254. which it generates C/UIL code. Info: Singh G, Kok CH, Ngan TY, "Druid: A System
  255. for Demonstrational Rapid User Interface Development". Proc. ACM SIGGRAPH Symp 
  256. on User Interface Software and Technology (UIST'90). ACM, NY, 1990, pp:167-177.
  257.  
  258.     The BYO interface builder is implemented in tcl.
  259.  
  260.     ADEW in the Andrew User Interface System supports WYSIWYG user
  261. interface construction with the full selection of AUIS insets, including text,
  262. rasters, tables, and the usual interactors.  Semantics can be coded in C or in
  263. Ness, the AUIS extension language.
  264.  
  265. Also:
  266.     In addition, these commercial products (unsorted) are available in 
  267. final or prerelease form [the * following the product name indicates that the 
  268. product is known to allow the designer to specify for each widget whether a 
  269. particular resource is hard-coded or written to an application defaults file,
  270. for at least one form of output]. Some are much more than user-interface tools;
  271. some are full user interface management systems; information on most is not
  272. up-to-date:
  273.  
  274. Product Name        Look/Feel    Code Output        Vendor
  275.  
  276. HP Interface        Motif 1.1    C(Xm)            HP/Visual Edge
  277.  Architect/ UIMX    
  278. OPEN LOOK Express    OPEN LOOK    C(Xol+ helper lib)    AT&T /
  279.                                 Visual Edge
  280. UIMX 2.0 *        Motif 1.1    C(Xm + helper code)    Visual Edge
  281.                                 514-332-6430
  282.                                 & distributors
  283. VUIT 2.0        Motif 1.1    C/UIL[r/w]        DEC 
  284.                                 (1-800-DIGITAL)
  285. X-Designer 1.1 *    Motif 1.1    C(Xm); C/UIL        Imperial
  286.                                 Software
  287.                                 Technology, Ltd
  288.                                   (+44 734 587055)
  289.                                 sales@ist.co.uk
  290. XFaceMaker2 (XFM2) *     Motif 1.0    C;C/script (C-like procedural 
  291.                     language);C/UIL
  292.                                  NSL 
  293.                             (33 1 43 36 77 50)
  294.                             requests@nsl.fr
  295. Builder Xcessory 2.0 *    Motif 1.1    C(Xm); C/UIL[r/w]    ICS 
  296.                     Ada            (617-621-0060)
  297.                                 info@ics.com
  298. XBUILD 1.1 *        Motif 1.0    C(Xm); C/UIL         Nixdorf    
  299.                                 (617-864-0066)
  300.                             xbuild@nixdorf.com
  301. iXBUILD            Motif 1.1    C(Xm); C/UIL        iXOS Software
  302.                                 karl@ixos.uucp
  303.                                 089/461005-69
  304. TeleUSE 2.1 *        Motif 1.1.5    C(Xm); C/UIL[r/w]
  305.                                 Telesoft
  306.                                 (619-457-2700)
  307.                             gui_info@telesoft.com
  308. ezX 3.2            Motif 1.1    C(Xm +helper lib);C/UIL;Ada
  309.                                 Sunrise
  310.                                 (401-847-7868)
  311.                                    info@sunrise.com
  312. Snapix            Motif        C/Xm            ADNT
  313.                                 +33 1 3956 5333
  314. OpenWindows Developers    OPEN LOOK     GIL [-> C/XView]    Sun
  315. Guide 3.0                GIL [-> C++/XView]
  316.                     GIL [-> C/OLIT]
  317.                     GIL [-> C/PostScript for TNT]
  318. ExoCode/SXM        Motif        C(Xm)            Expert Object
  319. ExoCode/Plus        OPEN LOOK    XView            708-676-5555
  320. TAE+            Xw;Motif    C(Xw,Xm); C/TCL (TAE Control Language,
  321.                     like UIL[needs helper library]);
  322.                     VAX Fortran; Ada; C++
  323.                                 Nasa Goddard
  324.                                 (301) 286-6034
  325. MOB, XSculptor            Motif; OpenLook    C/Xm,UIL; C/Xol        Kovi
  326.                                 408-982-3840
  327. PSM            PM, MSW 3.0,    C/UIL            Lancorp
  328.             Motif 1.1.2,Mac                Pty Ltd.
  329.                                 +61 3 629 4833
  330.                                 Fax:  629 1296
  331.                                 (Australia)
  332. MOTIFATION        Motif 1.0|1.1.2    C(Xm)            AKA EDV
  333.                                +49 (0) 234/33397-0
  334.                                +49 (0) 234/33397-40 fax
  335. UIB            Open Look/Motif    C++(OI)            ParcPlace 
  336.                                 +1 303-678-4626
  337.                                 
  338. Look for magazine reviews for more complete comparisons of meta-file formats,
  339. documentation, real ease-of-use, etc; Unix World and Unix Review often carry
  340. articles.
  341.  
  342.     In addition, Neuron Data (1 415 321-4488) makes Open Interface, a 
  343. window-system-independent object toolkit which supports interfaces which are 
  344. or resemble (supersets of) Mac, Windows, and Motif and Open Look; the package 
  345. includes an interface builder.
  346.  
  347.        In addition, the GRAMMI builder supports the development of Ada/X 
  348. applications using its own set of objects which are planned to have a Motif 
  349. look.  GRAMMI is written in Ada and generates Ada specs and stub bodies. 
  350. (1-800-GRAMMI-1).
  351.  
  352.     In addition, these non-WYSIWYG but related products may help for goals 
  353. of rapid prototyping of the application interface:
  354.  
  355.     WCL: the Widget Creation Library. Basically describes the widget
  356. hierarchy and actions in a resources file; available from fine archive servers
  357. everywhere, including devvax.jpl.nasa.gov (128.149.1.143) in pub/. Wcl provides
  358. a very thin layer over Xt without any internal tweaking. Version 2.5 is current
  359. [3/93].
  360.     WINTERP: an Xlisp-based Motif toolkit allows for interpretive 
  361. programming. The copy on the R4 tape is outdated; get a copy off export or 
  362. email to winterp-source%hplnpm@hplabs.hp.com. 
  363.     The Serpent UIMS permits the building of user-interfaces without 
  364. specific knowledge of coding but with an understanding of attributes being set
  365. on a particular [Motif] widget.  Beta Release 1.2 is available from 
  366. ftp.sei.cmu.edu (128.237.1.13) and can be found in /pub/serpent.  Serpent is 
  367. also available on export.lcs.mit.edu (18.24.0.11) in /contrib/serpent. Email
  368. questions can go to serpent@sei.cmu.edu. A commercial version of Serpent is
  369. available as "Agora" from ASET, 221 Woodhaven Drive, Pittsburgh, PA 15228.
  370.     Garnet is a Common Lisp-based GUI toolkit. Information is available 
  371. from garnet@cs.cmu.edu.
  372.     MetaCard is a hypertext/Rapid Application Development environment
  373. similar to Apple/Claris Corporation's HyperCard (info@metacard.com). MetaCard 
  374. is available via anonymous FTP from ftp.metacard.com, csn.org, or 
  375. 128.138.213.21.
  376.  
  377. ----------------------------------------------------------------------
  378. Subject:  89)  Where can I find X tools callable from shell scripts?
  379. I want to have a shell script pop up menus and yes/no dialog boxes if the user 
  380. is running X.
  381.  
  382.     Several tools in the R3 contrib/ area were developed to satisfy these
  383. needs: yorn pops up a yes/no box, xmessage displays a string, etc. There are
  384. several versions of these tools; few, if any, have made it to the R4 contrib/ 
  385. area, though they may still be available on various archive sites.
  386.     In addition, Richard Hesketh (rlh2@ukc.ac.uk) has posted the xmenu
  387. package to comp.sources.x ("v08i008: xmenu") for 1-of-n choices.  [7/90]
  388.     Two versions of XPrompt have been posted to comp.sources.x, the latter
  389. being an unauthorized rewrite. [R. Forsman (thoth@reef.cis.ufl.edu), 1/91]
  390.     There is a version of XMenu available from comp.sources.x; it is
  391. being worked on and will likely be re-released.
  392.     xp-1.1.tar.Z, xpick-1.0.tar.Z and xzap-1.0.tar.Z on export's contrib/
  393. are tools by Gerry.Tomlinson@newcastle.ac.UK which act as X versions of the 
  394. simple display and choice-making tools in K&P. [4/92]
  395.     xtpanel lets the user build a panel containing interactive objects such
  396. as buttons, sliders, text fields, etc., either from the command line or using a
  397. simple scripting language. It is available for anonymous ftp from 
  398. hanauma.Stanford.EDU (36.51.0.16) as pub/X/xtpanel.tar.Z and may also be found 
  399. in the alt.sources archives.
  400.  
  401. ----------------------------------------------------------------------
  402. Subject:  90)  Where can I get an X-based debugger?
  403.  
  404.     xdbx, an X interface to the dbx debugger, is available via ftp from 
  405. export. The current [1/91] version is 2.1 patchlevel 2.
  406.     An X interface to gdb called xxgdb is more like xdbx 2.1.2. It is part 
  407. of comp.sources.x volume 11 [2/91]; xxgdb-1.06.tar.Z is on export.
  408.     mxgdb is a Motif interface to gdb by Jim Tsillas 
  409. (jtsillas@bubba.ma30.bull.com); version 1.1.5 was released 1/93.
  410.     UPS is a source-level debugger which runs under the X11 and SunView
  411. window systems on Sun and DEC platforms. It is available from export 
  412. (18.24.0.11) as contrib/ups-2.45.tar.Z (also ups-2.45-to-2.45.2.patch.Z)
  413. and unix.hensa.ac.uk (129.12.21.7) in /pub/misc/unix/ups (or try mail to 
  414. archive@unix.hensa.ac.uk). [10/92] Unofficial fixes by Rod Armstrong 
  415. (rod@sj.ate.slb.com) are on unix.hensa.ac.uk in 
  416. /misc/unix/ups/contrib/rod@sj.ate.slb.com.
  417.  
  418. Also:
  419.     MIPS produces a highly-customizable (WCL-based) Visual Debugger.
  420.     You should be able to use Sun's dbxtool with its X11/NeWS server.
  421.     The CodeCenter (617-498-3000) source-level debugger, available on most
  422. major platforms, includes an X-based interface.
  423.     AT&T offers the eXamine Graphical Interface, an X11 interface to dbx
  424. and C++ dbx for Sun3 and Sun4 and sdb and sdb++ for 386 and 3B2 platforms. Call
  425. 1-508-960-1997 or contact examine@mvuxi.att.com for more information.
  426.         Solbourne (+1 303-678-4626) offers PDB, its X-based debugger for C, C++
  427. and Fortran.  PDB uses the OI toolkit and runs in either Open Look or Motif 
  428. mode. 
  429.     SCO (info@sco.com) offers dbXtra as part of several development 
  430. systems.
  431.         Lucid's Energize Programming System, a tightly integrated development
  432. environment for C and C++ programs, incorporates a graphical user interface on
  433. top of an extended version of gdb. Info:  lucid-info@lucid.com, or
  434. (800) 223-9322.
  435.  
  436. ----------------------------------------------------------------------
  437. Subject:  91)! How can I "tee" an X program identically to several displays?
  438.  
  439.     There are several protocol multiplexer tools which provide for the 
  440. simultaneous display of X clients on any number of machines.
  441.     XMX (an X Protocol Multiplexor) is available from wilma.cs.brown.edu 
  442. (128.148.33.66) as pub/xmx.tar.Z It works independently of the server and does
  443. not affect the application being shared; it was developed for use in the
  444. electronic classroom. An update is expected soon [5/93].
  445.     XTV is a conference program which can be used to duplicate the
  446. "chalkboard" on several displays. Release 1 is available on the X11R5 contrib
  447. tapes; a more recent version is on ftp.cs.odu.edu as pub/wahab/XTV.r2.tar.Z.
  448.     SHX from Michael Altenhofen of Digital Equipment GmbH CEC Karlsruhe 
  449. also does this; it is a "WYSIWIS" (What You See Is What I See) package in the 
  450. context of a computer-based learning/training tool to provide online help from
  451. remote tutors but is also useful for general window sharing. Information: 
  452. shX@nestvx.enet.dec.com.  SHX can be found on export and 
  453.         gatekeeper.dec.com:/pub/X11/contrib/shX.tar.Z, 
  454.         crl.dec.com:/pub/X11/contrib/shX.tar.Z 
  455. Modifications to SHX for color mapping and private color allocation by
  456. Mark J. Handley (M.Handley@cs.ucl.ac.uk) are on cs.ucl.ac.uk in 
  457. car/shX.car.tar.Z.
  458.     XTrap is implemented as a server/library extension and can be used
  459. to record and then replay an x session. It is available as
  460. export.lcs.mit.edu:/contrib/XTrapV33_X11R5.tar.Z.    
  461.     wscrawl can be used as a "multi-person paint program". It's available
  462. on sax.stanford.edu as wscrawl.shar.Z. Binaries are on doppler.ncsc.org in 
  463. pub/wscrawl.
  464.     Shdr implements a simple shared whiteboard, without a chalk-passing
  465. mechanism. It's available on parcftp.xerox.com as pub/europarc/shdr.tar.Z.
  466.     SketchPad 1.0 (3/93) is a distributed interactive graphical editor 
  467. particularly designed for sketching. Sources have been posted to alt.sources
  468. and are available from ftp.igd.fhg.de (192.44.32.1) in ~ftp/incoming/sketchpad.
  469.     The NESTOR project is described in "Upgrading A Window System For 
  470. Tutoring Functions", Michael Altenhofen et al., the proceedings of the EXUG
  471. Conference 11/90.
  472.  
  473. Also of use:
  474.         Hewlett-Packard Co. has a commercial product, "HP SharedX" which works
  475. under HP-UX currently on their 300, 400, and 700 series workstations and their
  476. HP 700/RX X Stations.  Machines receiving shared windows can be any X server.
  477. HP SharedX consists of a server extensions and a Motif based user interface
  478. process.  Contact your local HP sales rep. for more information.
  479.     IBM offers a commercial product.
  480.     Sun offers multi-user confering software called ShowMe.
  481.     InSoft (Mechanicsburg, PA, USA) offers multi-user confering software 
  482. called Communique.
  483.  
  484. [Thanks in part to scott@spectra.com (Tim Scott), 5/91, and to Peter Cigehn 
  485. (peter@lulea.trab.se), 8/92 ]
  486.  
  487. ----------------------------------------------------------------------
  488. Subject:  92)  TOPIC: BUILDING THE X DISTRIBUTION [topic needs updating to R5]
  489. ----------------------------------------------------------------------
  490. Subject:  93)  What's a good source of information on configuring the X build?
  491.  
  492.     This FAQ includes information on a number of "gotchas" that can bite 
  493. you on particular system. However, the best source of general information on 
  494. building the X11 release is found in the Release Notes. The file is bundled 
  495. separately from the rest of the release, so if it's become separated from your 
  496. sources you can FTP another copy separately: the file RELNOTES.[ms,PS,TXT] at 
  497. the top of the distribution. The file RELNOTES is also available from the 
  498. xstuff mail server.
  499.     In addition, O'Reilly & Associates's Volume 8 on X Administration
  500. includes information on configuring and building X.
  501.  
  502. ----------------------------------------------------------------------
  503. Subject:  94)  Why doesn't my Sun with a cg6 work with R5?
  504.  
  505.     Apparently gcc is the problem; it seems to produce fine code for all
  506. Sun displays except for the cgsix. The new sunGX.o distributed with fix-07 
  507. may fix the problem (note: not known to work on Solaris).
  508.  
  509. ----------------------------------------------------------------------
  510. Subject:  95)  Why doesn't my Sun with SunOS 4.1 know about _dlsym, etc.?
  511.  
  512.     If you get errors with _dlsym _dlopen _dlclose undefined, link with 
  513. libdl.a.  Add "-ldl" to your and eventually your site.def.  You may want to 
  514. surround it with "-Bstatic -ldl -Bdynamic" if you add it to the EXTRA_LIBRARIES
  515. variable, since "syslibs" get added after EXTRA_LIBRARIES on the eventual 
  516. compilation command; otherwise you may not have a shared libdl.  (Or compile 
  517. the stubs shared.)
  518.  
  519. [thanks to Joe Backo (joe.backo@East.Sun.COM), 12/91]
  520.  
  521. ----------------------------------------------------------------------
  522. Subject:  96)! What is this link problem with libXmu on SunOS 4.1.[23]?
  523.  
  524.     In SunOS 4.1.2 Sun fixed a shared-library bug in ld which conflicts
  525. with the way X builds the shared Xmu library, causing these symbols, notably, 
  526. to be undefined when building some X11 clients: 
  527.     _get_wmShellWidgetClass
  528.     _get_applicationShellWidgetClass
  529. Compiling "-Bstatic -lXmu -Bdynamic" appears to work. 
  530.  
  531. To solve the problem if you are using OpenWindows 3.0 (X11R4-based Xt), please 
  532. contact your local Sun office and request the following patches:
  533.  
  534. Patch i.d.      Description
  535. 100512-02       4.1.x OpenWindows 3.0 libXt Jumbo patch
  536. 100573-03       4.1.x OpenWindows 3.0 undefined symbols when using
  537.                         shared libXmu
  538.  
  539. [Greg Earle, earle@Sun.COM; 7/92] 
  540.  
  541. A source patch for use with the MIT X11R4 libraries was developed by Conrad 
  542. Kimball (cek@sdc.boeing.com); it retrofits into R4 some fixes made in R5 to
  543. get around this problem. The patch is on export in [1/93]
  544.     contrib/X11R4_sunos4.1.2_patch_version3.Z
  545.  
  546. ----------------------------------------------------------------------
  547. Subject:  97)  Why can't gcc compile X11R4 on my SPARC?
  548. I used gcc to compile the whole distribution, but I get several segmentation
  549. faults when running X.
  550.  
  551.     Note first that gcc on RISC machines does not necessarily result in
  552. any performance increase; it certainly is not as noticeable as it is on the
  553. 680x0 or VAX platforms.
  554.  
  555.     Here is the problem: gcc and cc use incompatible methods of passing 
  556. structures as arguments and returning them as function values, so when 
  557. gcc-compiled parts of X are linked with Sun-supplied functions that pass or 
  558. return structs, run-time errors occur.  Affected programs include rgb and 
  559. the server.
  560.  
  561.     This is from the GCC manual:
  562.  
  563.     On the Sparc, GNU CC uses an incompatible calling convention for 
  564.     structures.  It passes them by including their contents in the argument
  565.     list, whereas the standard compiler passes them effectively by 
  566.     reference.
  567.  
  568.     This really ought to be fixed, but such calling conventions are not yet
  569.     supported in GNU CC, so it isn't straightforward to fix it.
  570.  
  571.     The convention for structure returning is also incompatible, and
  572.     `-fpcc-struct-return' does not help.
  573.  
  574. You can duck the problem either by using cc throughout or by using it for just
  575. the routines which cause incompatibilities; the problem cannot be solved with 
  576. compilation flags.  
  577.  
  578.     Files which need to be compiled using cc include:
  579.         server/os/4.2bsd/oscolor.c 
  580.         rgb/rgb.c
  581.  
  582.     In addition, several of the "inet_" functions use structs as args or
  583. return values:  
  584.         clients/xhost/xhost.c 
  585.         clients/xauth/gethost.c. 
  586. Calls to inet_addr in /lib/CLX/socket.c and lib/X/XConnDis.c are possibly 
  587. harmless as they don't involve structs.
  588.  
  589. [collected by bashford@scripps.edu (Don Bashford); 8/90]
  590.  
  591. ----------------------------------------------------------------------
  592. Subject:  98)  What are these I/O errors running X built with gcc?
  593. When I try to run xinit or the Xsun server I get the error 
  594.     "Getting interface configuration: Operation not supported on socket. 
  595.     Fatal server bug! no screens found."
  596.  
  597.     Running the gcc fixincludes script apparently didn't work. You can do 
  598. this simple test:
  599.  
  600.     #include <sys/ioctl.h>
  601.     SIOCGIFCONF
  602.  
  603. Run that through cc -E and gcc -E.  The last line of output is the piece of 
  604. interest; it should be identical (modulo irrelevant differences like 
  605. whitespace).  If the gcc version has 'x' where the cc version has 'i', your 
  606. fixincludes run didn't work for some reason or other; go back to your gcc
  607. sources and run `fixincludes`; then rebuild the X distribution. If they are 
  608. identical, try running a make clean in mit/server and rebuilding, just to make 
  609. sure everything gets compiled with the proper include files.  
  610.  
  611. [courtesy der Mouse, mouse@LARRY.MCRCIM.MCGILL.EDU; 9/90]
  612.  
  613. ----------------------------------------------------------------------
  614. Subject:  99)  What are these problems compiling X11R4 on the older Sun3?
  615. In mit/server/ddx/sun/sunCG3C.c, we have found "missing" defines for 
  616. CG3AC_MONOLEN, CG3BC_MONOLEN, CG3AC_ENBLEN, CG3BC_ENBLEN. What should these be?
  617.  
  618.     The R4 Errata list distributed after X11R4 mentions that you can add
  619. these lines to the file on older SunOS versions (e.g. 3.5) to compile:
  620.         #define CG3AC_MONOLEN (128*1024)
  621.         #define CG3AC_ENBLEN  CG3AC_MONOLEN
  622.         #define CG3BC_MONOLEN CG3AC_MONOLEN
  623.         #define CG3BC_ENBLEN  CG3AC_MONOLEN
  624.  
  625.     However, the Sun3 should not actually ever have the CG3 device, and so 
  626. references to it can be removed from mit/server/ddx/sun/sunInit.c and the 
  627. Imakefile.  [11/90]
  628.  
  629. ----------------------------------------------------------------------
  630. Subject: 100)  What are these problems compiling the X server on SunOS 4.1.1?
  631. The file <sundev/cg6reg.h> isn't being found.
  632.  
  633.     Sun omitted <sundev/cg6reg.h> from SunOS 4.1.1. Remove the #include 
  634. from sunCG6C.c and replace it with the line 
  635.     #define CG6_VADDR_COLOR   0x70016000
  636. The file has changed from earlier versions of SunOS and should not be copied 
  637. from another distribution.
  638.  
  639. ----------------------------------------------------------------------
  640. Subject: 101)  What are these problems using R4 shared libraries on SunOS 4?
  641. All of the executables that I try to run have the following results:
  642.     ld.so: libXmu.so.4: not found
  643. or even:
  644.     ld.so: call to undefined procedure __GetHostname from 0xf776a96c
  645.  
  646.     If you are building with shared libraries on a Sun, remember that you 
  647. need to run "ldconfig" as root after installing the shared libraries (if you've
  648. installed X on a file-server, run it on the server's clients, too).  While 
  649. building and installing the distribution, you need to be careful to avoid 
  650. linking against any existing X shared libraries you might have (e.g. those 
  651. distributed with OpenWindows).  You should make sure you do not have 
  652. LD_LIBRARY_PATH set in your environment during the build or the installation.  
  653. If you are going to keep xterm and xload as setuid programs, please note that 
  654. the shared libraries must be installed in /usr/lib, /usr/local/lib, or 
  655. /usr/5lib for these programs to work (or else those programs must be linked 
  656. statically). [courtesy MIT X Consortium]
  657.     Note also that the program mkfontdir is run as part of the build; it
  658. attempts, however, to use the shared libraries before they have been installed.
  659. You can avoid the errors by building mkfontdir statically (pass -Bstatic to
  660. most C compilers).
  661.  
  662. ----------------------------------------------------------------------
  663. Subject: 102)  Can OLIT programs run with R5 Xt? (_XtQString undefined)
  664.  
  665. This is a bug in the OLIT.  _XtQString was an external symbol that existed in 
  666. X11R4 (upon which OW 3.0's libXt is based).  It wasn't documented and was 
  667. removed in X11R5 (MIT's guarantee of upward compatibility between the R4 and R5
  668. libraries only applied to the documented interface).  
  669.  
  670. A workaround is to temporarily set your LD_LIBRARY_PATH to point to the X11R4
  671. or OpenWindows Xt library that you linked the program against.
  672.  
  673. [10/92; from Barry Margolin (barmar@think.com); 3/93 from Jeff Francis 
  674. (jpf@heliocentric.com)]
  675.  
  676. ----------------------------------------------------------------------
  677. Subject: 103)  How do I get around the SunOS 4.1 security hole?
  678.  
  679.     There is a security problem with certain R4 clients (xterm and xload)
  680. running under SunOS 4.1 that have been installed setuid root and are using 
  681. shared libraries; to avoid the problem, do one of these:
  682.     1) make the program non-setuid. You should consult your system
  683. administrator concerning protection of resources (e.g. ptys and /dev/kmem) used
  684. by these programs, to make sure that you do not create additional security 
  685. problems at your site.
  686.     2) relink the programs statically (using -Bstatic).
  687.     3) install the libraries before linking and link with absolute paths
  688. to the libraries.
  689.  
  690. [from rws@expo.lcs.mit.edu (Bob Scheifler), 12/90]
  691.  
  692. The R5 version of xterm does this automatically by rebuilding xterm against the
  693. newly-installed libraries when xterm is being installed; this prevents an suid
  694. program from being built with libraries specified relatively. Note that this 
  695. may cause an inconvenience when doing the installation from NFS-mounted disks. 
  696. Xload has been rewritten to avoid the problem.
  697.  
  698. ----------------------------------------------------------------------
  699. Subject: 104)  How do I get around the frame-buffer security hole?
  700.  
  701.     On many systems the frame-buffer is unsecured by default; this permits 
  702. anyone who can log into your workstation to peek at your windowing session by 
  703. accessing the frame-buffer directly, or, as less of a privacy issue but perhaps
  704. more annoying, to [accidentally] start up a second X session on your console 
  705. display. Check the man page for fbtab(5).
  706.  
  707. [Thanks to Art Mulder (art@cs.ualberta.ca); 2/93.]
  708.  
  709. ----------------------------------------------------------------------
  710. Subject: 105)  TOPIC: BUILDING X PROGRAMS 
  711. ----------------------------------------------------------------------
  712. Subject: 106)! What is Imake?
  713.  
  714.     Imake is not a replacement for the make program; instead, it is a
  715. makefile-generator that takes advantages of the include-file and macro-
  716. processing capabilities of the C preprocessor cpp to generate makefiles 
  717. suitable for building software on a particular system. Although it is not 
  718. specific to X, the X release uses it to help solve a number of the 
  719. configuration issues that arise in making such a large system widely portable.
  720.     Imake has a fairly steep learning curve, in part because the process by
  721. which the system-specific configuration files, system-independent configuration
  722. files, and individual Imakefiles are melded to produce a Makefile is not 
  723. obvious.
  724.     There have been several different versions of imake; the R3, R4, and
  725. R5 versions are different.
  726.  
  727.     You can obtain information on imake from these sources:
  728.     - the R4 and R5 release notes and imake man page include information on
  729. using Imake to build X
  730.     - the R4 and R5 file mit/config/README also contains useful information
  731.     - on the R4 tapes, contrib/doc/imake/imake.tex is Mark Moraes' R3/R4
  732. guide to imake.
  733.     - the R5 mit/doc/config/usenixws/paper.ms contains a paper by Jim
  734. Fulton on an early version of Imake
  735.     - Paul DuBois (dubois@primate.wisc.edu) has written a useful 
  736. explanation of how Imake works and how to use it in configuring X for non-
  737. supported systems; the document is available from ftp.primate.wisc.edu
  738. in the directory ~ftp/pub/imake-stuff; look for config-X11R4.ms (troff) and 
  739. config-X11R4.ps (PostScript). Some supplemental appendices are nearby. 
  740. [7/91: document version is now 1.06] These imake papers are available by email;
  741. mail a message body of "send imake-stuff help" to almanac@primate.wisc.edu.
  742. They are also available by gopher to gopher.primate.wisc.edu under "Primate 
  743. Center Software Archives".
  744.     - see "System Administration - Imake: Friend or Foe?" by Dinah McNutt
  745. in the November 1991 issue of SunExpert.
  746.     - German readers should expect in June 1992 an article "Das Meta-Make 
  747. / I make, you make / Schwerelos" by Rainer Klute in "iX 
  748. Multiuser-Multitasking-Magazin", directed at application programmers needing to
  749. write Imakefiles. An English-language derivative of this article is in The
  750. X Journal, issue 2:1.
  751.     - The O'Reilly X Resource issue #2 contains Paul Davey's article on
  752. demystifying Imake.
  753.     - Alain Brossard's working document full of tips on Imake is in 
  754. sasun1.epfl.ch:pub/imakefile.1.Z.
  755.  
  756. [1/91;12/91;5/92;8/92]
  757.  
  758. ----------------------------------------------------------------------
  759. Subject: 107)  Where can I get imake?
  760.  
  761.     Versions are distributed with the R4 and R5 releases. An earlier 
  762. version is distributed with the X11R3 release; some third-party toolkits 
  763. redistribute versions of imake along with their own implementations of the 
  764. template and configuration files. There are no real standards for such 
  765. configuration files, although most *current* contributed software expects the 
  766. templates distributed with X11R5.
  767.     export contains the R5 distribution unpacked, so you can pick up imake
  768. without picking up the entire distribution.
  769.     A stand-alone version of Imake, but one stemming from X11R5, is in
  770. ftp.germany.eu.net:pub/X11/misc/imake/imake-pure.tar.Z (192.76.144.75).
  771.  
  772. ----------------------------------------------------------------------
  773. Subject: 108)  I have a program with an Imakefile but no Makefile. What to do?
  774.  
  775.     If you have R4 or R5 installed on your system, run "xmkmf". This is a 
  776. script which runs imake for you with the correct arguments. The output is a 
  777. Makefile configured for your system and based on the Imakefile. Then run make, 
  778. which will use that new Makefile to compile the program.
  779.  
  780. ----------------------------------------------------------------------
  781. Subject: 109)  Why can't I link to the Xlib shape routines?
  782. When I try to compile certain programs, I get the following link error:
  783.     Undefined:
  784.     _XShapeQueryExtension
  785.     _XShapeCombineMask
  786.  
  787.     These routines are actually part of the Shape Extension to X (SHAPE)
  788. which was introduced in the MIT X11R4 distribution and allows non-rectangular
  789. windows.  Like the other sample server extensions, the shape extension will 
  790. only run on a server which supports it.  Pre-X11R4 servers, as well as many 
  791. vendor-supplied servers, do not support the shape extension, in which case 
  792. they will display rectangular windows anyway.
  793.  
  794.     In order to use the shape extension, you must link to the library 
  795. libXext.a.  In the X11R4 distribution, this library and the associated includes
  796. will be in the mit/extensions directory.  If you do not have these files, do 
  797. not despair:  many freeware programs which use the shape extension can also be 
  798. compiled without it by removing the -DSHAPE define from the Makefile; you can
  799. probably do this and compile successfully against your older vendor-supplied X 
  800. libraries.
  801.  
  802. [from John B. Melby, melby%yk.fujitsu.co.jp@uunet.uu.net, 3/91]
  803.  
  804. ----------------------------------------------------------------------
  805. Subject: 110)  What are these problems with "_XtInherit not found" on the Sun?
  806. When I run a X program that I wrote on a SunOS 4.0.3 or 4.1 machine I get the 
  807. error "ld.so: symbol not found _XtInherit".
  808.  
  809.     What you are seeing is a side-effect of a kludge in the R4 libXt.a to 
  810. get Sun shared libraries working.  Apparently, you can't share a function that 
  811. is both called and compared, as _XtInherit is. This was handled by putting 
  812. _XtInherit in the same file as a function that is always used, thereby 
  813. guaranteeing that it would be loaded -- that is, in Initialize.c, where 
  814. XtToolkitInitialize() and XtInitialize() reside. These routines would normally
  815. be called.
  816.  
  817.     You are probably seeing this error because your program is not a normal
  818. Xt-based program and does not call XtToolkitInitialize() anywhere. 
  819.     1) it may be a program that uses Xt functions but never opens a 
  820. connection to the X server.  [OSF/Motif's 1.1.0 UIL had this problem; it called
  821. XtMalloc() and other Xt functions.] The solution is to add the call to your 
  822. program; the function does not have to be executed, just linked in.
  823.     2) alternatively, your program doesn't need any Xt functions and is
  824. correct in not calling XtToolkitInitialize() -- it may be an Xlib or XView 
  825. program. In this case, you can remove -lXt from your link command. 
  826.  
  827.     It should not be necessary to link the shared libraries statically,
  828. although this will certainly solve the problem.
  829.     
  830. [from Jordan Hayes (now jordan@MooreNet.COM) and Danny Backx (db@sunbim.be); 
  831. 11/90]
  832.  
  833. ----------------------------------------------------------------------
  834. Subject: 111)  Why can't I compile my R3 Xaw contrib programs under the new X?
  835. I have a program that worked well under X11R3. When I try to link it under 
  836. the current version of X, I get this message:
  837.     Undefined:
  838.     _XtScrollBarSetThumb
  839.     _XtTextSetInsertionPoint
  840.     _XtTextReplace
  841.  
  842.     There were several name changes in the Athena widget set (in addition
  843. to the header files moving into <X11/Xaw/>); these are mentioned in the R4
  844. release notes. In this case, these functions are not really Xt functions but
  845. are part of the Xaw text widget and so have been renamed from Xt* to Xaw*.
  846. [10/90]
  847.  
  848. ----------------------------------------------------------------------
  849. Subject: 112)  TOPIC: PROGRAMMING PROBLEMS AND PUZZLES
  850. ----------------------------------------------------------------------
  851. Subject: 113)  Why doesn't my program get the keystrokes I select for (sic)?
  852.  
  853.     The window manager controls how the input focus is transferred from one
  854. window to another.  In order to get keystrokes, your program must ask the
  855. window manager for the input focus.  To do this, you must set up what are
  856. called "hints" for the window manager.  If your applications is Xlib-based, you
  857. can use something like the following:
  858.  
  859.         XWMHints wmhints;
  860.         ...
  861.         wmhints.flags = InputHint;
  862.         wmhints.input = True;
  863.         XSetWMHints(dpy, window, &wmhints)
  864.  
  865. If your application is based on the Xt Intrinsics, you can set the XtNinput 
  866. resource to be True (as you probably want to in any case); if you don't have
  867. source, you can start up the application with the resource '*input:True'.
  868.  
  869. Certain window managers, notably dxwm and olwm, are very picky about having 
  870. this done. 
  871.  
  872.     If you are using Sun's OpenWindows olwm, you can also add this resource
  873. to your defaults file to use clients that aren't ICCCM-compliant.
  874.     OpenWindows.FocusLenience:       true
  875.  
  876. [mostly courtesy Dave Lemke of NCD and Stuart Marks of Sun]
  877.  
  878. ----------------------------------------------------------------------
  879. Subject: 114)  How do I figure out what window manager is running?
  880.  
  881.     You can't reliably tell; whatever mechanism you could use could be
  882. spoofed in any case. 
  883.     For most cases, you shouldn't care which window manager is running, so 
  884. long as you do things in an ICCCM-conformant manner. There are some cases in 
  885. which particular window managers are known to do things wrong; checking for
  886. particular hints placed on the window by the window manager so that you can 
  887. sidestep the problem may be appropriate in these cases. Alternatively, it may 
  888. be appropriate to determine which window manager is running in order to take
  889. advantage of specific *added* features (such as olwm's push-pin menus) in order
  890. to give your program *added* functionality. Beware of usurping the window 
  891. manager's functions by providing that functionality even when it is missing;
  892. this surely leads to future compatibility problems.
  893.  
  894. ----------------------------------------------------------------------
  895. Subject: 115)  Is there a skeleton X program available?
  896.     
  897.     There is no general framework such as the TransSkel program for the 
  898. Macintosh which handles lots of the odds and ends and overhead of development 
  899. under a window system and which can be used as a platform for additional 
  900. development. In X, the problem is typically solved by using an interactive 
  901. application builder tool or by using cut&paste on existing X applications. Good
  902. applications which you might look to manipulate when you want to "test just 
  903. this one little thing" include contrib/clients/xskel, a simple R4 program that 
  904. puts up a window and allows sketching in it and offers a starting point for
  905. quick hacks, the Xaw examples in the examples/ directory in the R3 and R4 
  906. distributions, and the Xlib "Hello World" example in the R3 doc/HelloWorld and 
  907. R4 doc/tutorials/HelloWorld; an updated version of this program which uses R4 
  908. Xlib calls and current ICCCM conventions was posted in 2/90 to comp.windows.x  
  909. by Glenn Widener of Tektronix.     [3/90]
  910.  
  911.     In addition, a sample Xt program (for Xaw or Xm) by Rainer Klute 
  912. showing how to open multiple displays and how to catch a broken display 
  913. connection is available on export.lcs.mit.edu in contrib/mdisp.tar.Z. [4/92]
  914.  
  915. ----------------------------------------------------------------------
  916. Subject: 116)  Why does XtGetValues not work for me (sic)?
  917.  
  918.     The XtGetValues interface for retrieving resources from a widget is
  919. sensitive to the type of variable. Your code may be doing something like this:
  920.     {
  921.     Arg args[3];
  922.     int i;
  923.     int sensitive;        /* oops; wrong data type */
  924.     i=0;
  925.     XtSetArg (args[i], XtNsensitive, &sensitive); i++;
  926.     XtGetValues(widget, args, i );
  927.     ...
  928.     }
  929.  
  930. But XtNsensitive is a Boolean, which on most machines is a single byte; 
  931. declaring the variable "sensitive" as Boolean works properly. This problem 
  932. comes up often when using particular toolkits that redefine the Xt types 
  933. Dimension and Position; code that assumes they are int will have similar 
  934. problems if those types are actually short. In general: you are safe if you
  935. use the actual type of the resource, as it appears in the widget's man page.
  936. [11/90]
  937.  
  938. ----------------------------------------------------------------------
  939. Subject: 117)  Why don't XtConfigureWidget/XtResizeWidget/XtMoveWidget work?
  940.  
  941.     You're probably trying to use these functions from application code.
  942. They should be used only internally to widgets; these functions are for a 
  943. parent widget to change the geometry of its children. Other promising 
  944. functions, XtMakeGeometryRequest() and XtMakeResizeRequest(), are also for use 
  945. only by widgets, in this case by a child to request a change from its parent.
  946.     The only way for your application to request a geometry change for a
  947. widget is to issue an XtSetValues call setting some of the geometry resources.
  948. Although this will result in the widget-internal functions' being called, your
  949. application code must use the standard XtSetValues interface or risk the 
  950. widgets' data becoming corrupted.
  951.     [The Xlib calls XMoveWindow() and XResizeWindow() should similarly be 
  952. avoided; they shouldn't be used to change XtNx, XtNy, XtNwidth, or XtNheight.]
  953.  
  954. ----------------------------------------------------------------------
  955. Subject: 118)  Why isn't there an XtReparentWidget call like XReparentWindow?
  956.  
  957.     Although there are various details of the current implementation of
  958. the Xt internals which make reparenting difficult, the major reason that no
  959. such call exists is that it remains undefined what the set of resources for
  960. the "new" widget should be. Resources are typically set based on the location
  961. in the instance hierarchy; what resources should change if the instance moves?
  962. What should happen to the widget's children? And by the time such semantics are
  963. defined, there would probably be little advantage over destroying the old 
  964. widget and creating a new widget in the correct location with the desired 
  965. resources, as setting the resources correctly is the majority of work in 
  966. creating a new widget.
  967.  
  968.     Note that reparenting is possible in the OI toolkit.
  969.  
  970. ----------------------------------------------------------------------
  971.  
  972. David B. Lewis                     faq%craft@uunet.uu.net
  973.  
  974.         "Just the FAQs, ma'am." -- Joe Friday 
  975. -- 
  976. David B. Lewis        Temporarily at but not speaking for Visual, Inc.
  977. day: dbl@visual.com    evening: david%craft@uunet.uu.net
  978.